//
//  CYpinglunNaviCotroller.swift
//  WeiBo
//
//  Created by Mr_J on 16/3/15.
//  Copyright © 2016年 mac. All rights reserved.
//
/**
判断是否有评论，没有的话不让点击

点击之后获取当前微博的id 然后显示当前id的评论数

显示cell的内容添加约束

获取评论用户姓名，发布的内容

*/
import UIKit

class CYpinglunNaviCotroller: CYPinglunTableViewCotroller {

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.yellowColor()
        setupUI()
   
    }
    
    private func setupUI() {
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(imageNamed: "navigationbar_back_withtext", title:"主页", target: self, action: "back")
        self.hidesBottomBarWhenPushed = true
  
    }
    
    func back() {
        
        self.dismissViewControllerAnimated(true, completion: nil)
        
    }

    
    
}
